package cn.nxl.manager.dao;

import cn.nxl.manager.vo.*;

import java.util.Map;
import java.util.List;

/**
 * Created by DaoCreator (daoInterface.jt)
 */
public interface ManagerDao {
//#appendbegin
    //==============nxl_dir==============
    public void insertnxldir(nxldir vo);
    public void updatenxldir(nxldir vo);

    public void deletenxldir(nxldir vo);
    public void deletenxldirByPrimaryKey(String sn );
    public void deletenxldirByParam(Object... param);
    public void deletenxldirByParam(Map<String, Object> param);

    public nxldir getnxldirByPrimaryKey(String sn );
    
    public int getnxldirCountByPrimaryKey(String sn );
    public int getnxldirCountByParam(Object... param);
    public int getnxldirCountByParam(Map<String, Object> param);

    public List<nxldir> getnxldirListByParam(String orderBy, Object... param);
    public List<nxldir> getnxldirListByParam(int page, int count, String orderBy, Object... param);
    public List<nxldir> getnxldirListByParam(String orderBy, Map<String, Object> param);
    public List<nxldir> getnxldirListByParam(String orderBy, Map<String, Object> param, int page, int count);
    public List<nxldir> getAllnxldirList(String orderBy);
    //==============end of nxl_dir==============	
//#appendend   

    //==============nxl_content==============
    public void insertnxlcontent(nxlcontent vo);
    public void updatenxlcontent(nxlcontent vo);

    public void deletenxlcontent(nxlcontent vo);
    public void deletenxlcontentByPrimaryKey(String sn );
    public void deletenxlcontentByParam(Object... param);
    public void deletenxlcontentByParam(Map<String, Object> param);

    public nxlcontent getnxlcontentByPrimaryKey(String sn );
    
    public int getnxlcontentCountByPrimaryKey(String sn );
    public int getnxlcontentCountByParam(Object... param);
    public int getnxlcontentCountByParam(Map<String, Object> param);

    public List<nxlcontent> getnxlcontentListByParam(String orderBy, Object... param);
    public List<nxlcontent> getnxlcontentListByParam(int page, int count, String orderBy, Object... param);
    public List<nxlcontent> getnxlcontentListByParam(String orderBy, Map<String, Object> param);
    public List<nxlcontent> getnxlcontentListByParam(String orderBy, Map<String, Object> param, int page, int count);
    public List<nxlcontent> getAllnxlcontentList(String orderBy);
    //==============end of nxl_content==============	

    public List<Map> getDirSub(String dirSn, int page, int count);
    public int getDirSubCount(String dirSn);
}
